package com.beta.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("cart_items")
public class CartItems implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**  */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**  */
	private Integer userId;

	/**  */
	private Integer productItemId;

	/**  */
	private Integer quantity;

	/**  */
	private Date createdAt;

	/**  */
	private Date updatedAt;


	public Integer getId() {
		return this.id;
	}

	public CartItems setId(Integer id) {
		this.id = id;
		return this;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public CartItems setUserId(Integer userId) {
		this.userId = userId;
		return this;
	}

	public Integer getProductItemId() {
		return this.productItemId;
	}

	public CartItems setProductItemId(Integer productItemId) {
		this.productItemId = productItemId;
		return this;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public CartItems setQuantity(Integer quantity) {
		this.quantity = quantity;
		return this;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public CartItems setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
		return this;
	}

	public Date getUpdatedAt() {
		return this.updatedAt;
	}

	public CartItems setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
		return this;
	}

}
